package com.bit.springbook.adapter;

public class OtherLog1Adapter implements Log4J {

    private OtherLog1 otherLog1;

    public OtherLog1Adapter(OtherLog1 otherLog1) {
        this.otherLog1 = otherLog1;
    }

    @Override
    public void log(String msg) {
        otherLog1.show(msg);
    }
}
